package cn.qidisoft.edu.hzjt.dao;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import cn.qidisoft.edu.hzjt.model.Directory;

public interface DirectoryMapper {
    public List<Directory> queryPageList(Directory directory, RowBounds rowBounds);

    public int queryPageListcount(Directory directory);

    public List<Directory> queryList(Directory directory);

    public Directory queryByPK(Directory directory);

    public void add(Directory directory);

    public void update(Directory directory);

    public void delete(Directory directory);

    public int validation(Directory directory);

    /**
     * 
     * @param data1
     * @return
     */
    public List<Directory> selectProjectByid(Directory data1);

    /**
     * 
     * @param data
     * @return
     */
    public List<Directory> getUserLevel(Directory data);

    //找到目录负责人
    public List<Directory> selecdirectory_principal(Directory data1);

}